﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucQuickRegister.ascx.cs"
    Inherits="ExpertMIS.Forums.UserControl.ucQuickRegister" %>
<style type="text/css">
    .style1
    {
        color: #CC0000;
    }
    .col1
    {
        width: 80px;
        font-size: 9pt;
        text-align: left;
        padding-left: 8px;
        color: #10101C;
    }
    .col2
    {
        width: 120px;
        text-align: right;
    }
    .col3
    {
        display: none;
    }
    input
    {
        border: #303030 1px solid;
    }
    .style2
    {
        height: 58px;
    }
</style>

<script type="text/javascript">
    function showQuickRegister() {
    }

    function closeQuickRegister() {
    }
</script>

<div style="text-align:center;">
    <form id="frmRegister" runat="server">
    <table>
        <tr>
            <td colspan="3" style="text-align: left;">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                <asp:Label runat="server" ID="lblErrInfo" ForeColor="Red" Visible="false"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>用户名
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txID"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请填写用户名"
                    ControlToValidate="txID" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>口令
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txPassword" TextMode="Password"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入口令"
                    Display="Dynamic" ControlToValidate="txPassword"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>确认口令
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txPassword2" TextMode="Password"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="口令不一致"
                    Display="Dynamic" ControlToCompare="txPassword" ControlToValidate="txPassword2"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>姓名
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txName"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请填写姓名"
                    Display="Dynamic" ControlToValidate="txName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>电子邮箱
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txEMail"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="请填写电子邮箱"
                    Display="Dynamic" ControlToValidate="txEMail"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="您填写的邮箱地址有误"
                    Display="Dynamic" ControlToValidate="txEMail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="col1">
                <span class="style1">*</span>联系电话
            </td>
            <td class="col2">
                <asp:TextBox runat="server" ID="txPhone"></asp:TextBox>
            </td>
            <td class="col3">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="请填写联系电话"
                    Display="Dynamic" ControlToValidate="txPhone"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center; vertical-align: bottom;" class="style2">
                <asp:Button ID="btnRegister" runat="server" Text="注册" Width="80px" OnClick="btnRegister_Click" />
            </td>
            <td class="style2">
            </td>
        </tr>
    </table>
    </form>
</div>
